* {
  list-style: none;
  text-decoration: none;
  padding: 0;
  margin: 0 auto;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clean {
  overflow: hidden;
}

body {
  background-color: #f5f5f5;
}

#box {
  width: 100%;
  height: 900px;
  text-align: center;
  position: relative;

  .content {
    border: 1px solid #e5e5e5;
    margin: 1%;
    width: 98%;
    padding-bottom: 3%;
    background-color: white;
    .search {
      width: 97%;
      //height: 4rem;
      line-height: 3rem;
      padding-left: 3%;
      overflow: hidden;
      text-align: left;
      margin-top: 2%;
      .name {
        width: 8%;
        border: 1px solid #e6e6e6;
        padding-left: 3px;
        height: 2rem;
        font-size: .8rem;
      }
      button {
        width: 8%;
        height: 2rem;
        border: none;
        border-radius: 5px;
        background-color: #009688;
        color: white;
        margin-left: 2%;
      }
      select {
        margin-left: 2%;
        width: 8%;
        height: 2rem;
      }
    }
    table {
      margin-top: 2%;
      tr:hover {
        background-color: #F2F2F2;
      }
      th {
        height: 2rem;
        background-color: #F2F2F2;
        color: black;
        text-align: center !important;
      }
      td {
        height: 2rem;
        border-bottom: 1px solid #E6E6E6;
        button {
          padding: 2px 3px;
          border: none;
          border-radius: 0;
          a {
            color: #fff;
            font-size: .8rem;
          }
        }
      }
    }
  }
}

.header {
  width: 100%;
  height: 5rem;
  background-color: #009688;
  .h_name {
    height: 5rem;
    line-height: 5rem;
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin-left: 4%;
  }
  .username {
    height: 5rem;
    width: 10%;
    line-height: 5rem;
    font-size: 18px;
    color: white;
    img {
      width: 2.5rem;
      margin-left: 5%;
    }
  }
}

body {
  font-family: "微软雅黑";
  background: #eee;
}

.content h3 {
  text-align: left;
  padding: 1rem 1rem;
  font-size: 1.2rem;
  border-bottom: 1px solid #ccc;
  color: #009688;
  margin-bottom: 1rem;
}
.content1 h3 {
  text-align: left;
  padding: 0rem  1rem 1rem ;
  font-size: 1.2rem;
  border-bottom: 1px solid #ccc;
  .adtitle{
    color: #009688;
    margin-bottom: 1rem;
  }
  .goods{
    color: #333;
    font-size:1rem;
  }
}

button {
  display: inline-block;
  padding: 6px 12px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  border-color: #009688;
  color: #fff;
  background-color: #009688;
  //  margin: 20px 20px 0 0;
}

.box {
  width: 800px;
  margin: 100px auto 0;
  height: 34px;
}

.page {
  //width: 600px;
}

.info {
  width: 200px;
  height: 34px;
  line-height: 34px;
}

.fl {
  float: left;
}

.fixed-sidebar .navbar-static-side {
  //  width: 10% !important;
}

//==============时间插件===============
.demo-input {
  padding-left: 5px;
  height: 2rem;
  width: 8%;
  line-height: 2rem;
  border: 1px solid #e6e6e6;
  background-color: #fff;
  border-radius: 2px;
}

.demo-footer {
  padding: 50px 0;
  color: #999;
  font-size: 14px;
}

.demo-footer a {
  padding: 0 5px;
  color: #009688;
}
.show-box{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
}
#box1 {
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  z-index: -1;

  .content1 {
    position: absolute;
    padding: 20px;
    width: 70%;
    height: 80%;
    left: 15%;
    top: 10%;
    background: #fff;
    z-index: 99999;
    border-radius: 5px;
    &::after{
      content: '';
      display: block;
      clear: both;
      font-size: 0;
    }
  }
}
.ceng{
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1234;
  display: none;
}
.img_rq {
  position: relative;
  float: left;
}
.delete-btn{
  position: absolute;
  border-radius: 50%;
  top: 0;
  right: 0;
  background: none;
  padding: 1px 7px;
}

.newadd{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.newadd label {
  padding: 10px 0;
  width: 100%;
  display: block;
  text-align: left;
}
.newadd label .adtitle {
  display: inline-block;
  width: 6rem;
  text-align: right;
  padding-right: 2%;
  color: #009688;
  font-size: 20px;
  font-weight: 500;
  line-height: 40px;
  height: 40px;
}
.newadd input {
  padding: 0 10px;
  width: 20%;
  height: 30px;
  line-height: 45px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
}
.content1 h3{
  position: relative;
}
.content1 h3 .closs-btn{
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 50px;
  cursor: pointer;
  font-style: normal;
}

select {
  width: 5rem;
  height: 2rem;
}

//================移动端配适===============

@media screen and (max-width: 600px) {
  #luo_status{
    left:107px !important;
  }
  body {
    font-size: .5rem !important;

  }

  .content h3 {
    text-align: left;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid #ccc;
    color: #009688;
    margin-bottom: .5rem;
  }

  .layui-layout-admin .layui-body {
    width: 120% !important;
  }

  .layui-body {
    width: 120% !important;
  }

  body.fixed-sidebar .navbar-static-side,
  body.canvas-menu .navbar-static-side {
    /* position: fixed;*/
    width: 20% !important;
  }

  .s_button {
    width: 10% !important;
    height: 1.5rem !important;
  }

  .mask .register {
    width: 70% !important;
    left: 15% !important;
    top: 12% !important;
    ul li {
      padding: 15px 10px;
    }
  }

  .mask .register ul li .regSpan {
    width: 20% !important;
  }

  .mask .register ul li input[type=text] {
    width: 70% !important;
    height: 2rem !important;
    line-height: 2rem !important;
  }

  button {
    //      width: 30% !important;
    //      height: 1.5rem !important;
    font-size: .5rem !important;

    a {
      font-size: .5rem !important;
    }
  }

  .layui-btn {
    line-height: 1.5rem !important;
    padding: 0 !important;
  }

  .search {
    button {
      height: 1.5rem !important;
      width: 10% !important;
    }
    select {
      width: 13% !important;
      height: 1.5rem !important;
    }
  }

  .search input {
    width: 10% !important;
    height: 1.5rem !important;
    font-size: .5rem !important;
  }

  .demo-input {
    padding-left: 3px;
  }

  .search #choose {
    width: 3rem !important;
    height: 1.5rem !important;
  }

  .h_name {
    font-size: .5rem !important;
  }

  .username {
    font-size: .5rem !important;
    width: 26% !important;
    img {
      width: 2rem !important;
    }
  }

  #box {
    width: 100% !important;
  }

  .layui-header {
    width: 150%;
  }

  .navbar-header {
    display: block;
  }

  .nav-second-level li a {
    padding-left: 0px !important;
    padding: .5rem 0px !important;
    text-align: center;
  }

  label {
    font-size: .5rem !important;
  }

  .content ul {
    width: 90% !important;
    input {
      height: 1rem !important;
      width: 40% !important;
    }
    button {
      width: 30% !important;
      height: 1.5rem !important;
      line-height: 1.5rem !important;
    }
  }

  .layui-layout-admin .layui-side {
    width: 30% !important;
  }

  .layui-side {
    position: absolute !important;
  }

  .layui-body {
    left: 30% !important;
  }

  #riqi {
    padding-left: 3px !important;
    width: 12% !important;
  }
}

.img-add{
  margin-top: 15px;
  display: flex;
  justify-content: flex-start;
  #div_imgfile{
    position: relative;
    cursor: pointer;
    width: 150px;
    height: 100px;
    float: left;
    margin-right:15px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 2px solid #808080;    display: inline-block;


    input{
      visibility: hidden;
    }

  }
  .icon-add{
    position: absolute;
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    background: url(../img/add.png)no-repeat center;
  }
  /*这里是图片预览容器样式*/
  #div_imglook {
    margin-top: 0;
    float: left;
  }

  /*单个图片预览模块样式*/
  .lookimg {
    width: 150px;
    height: 100px;
    box-sizing: border-box;
    border: 1px solid #808080;
    float: left;
    position: relative;
    margin-bottom: 15px;
    margin-right: 15px;
  }

  .lookimg img {
    max-width: 100%;
  }

  /*删除按钮样式*/
  .lookimg_delBtn {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background-color: #808080;
    opacity: 0;
    color: white;
    font-size: 14px;
    font-family: 微软雅黑;
  }

  /*删除按钮移入移出效果*/
  .lookimg_delBtn:hover {
    opacity: 1;
  }
  .imgfile{
    visibility: hidden;
    position: absolute;
    width: 0;
    padding: 0;
    font-size: 0;
  }
}#img-add-box{
   display: flex;
   justify-content: flex-start;
   flex-wrap: wrap;
   padding: 0 2rem;
 }
.table-tips-box{
  position: relative;
  width: 120px;
}
.tab-tips-box{
  position: absolute;
      bottom: 43px;
  left: 0;
  .tab-tips{
    min-width: 100px;

    i{
      width:0;
      height:0;
      border-width: 15px 7px 0;
      border-style:solid;
      border-color:#FFFFA3 transparent transparent;/*灰 透明 透明 */
      position:absolute;    bottom: -10px;
      left: 50%;
      margin-left: -3.5px;
      border-radius: 10px;
    }
    ul{
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
      border: 1px solid #F1D031;
      background-color: #FFFFA3;
      color: #555;
      border-radius: 3px;
      box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
      li{
      height: 20px;
      width:100%;
      span{
        display: inline-block;
        text-align: left;
        padding: 0 10px;
        &:first-of-type{
          text-align: right;
        }
      }
    }

    }
  }
}
.table-total-tips-box{
  position: relative;
  width: 120px;
}
.tab-total-tips-box{
  position: absolute;
      bottom: 43px;
  left: 0;
  .tab-tips{
    min-width: 100px;

    i{
      width:0;
      height:0;
      border-width: 15px 7px 0;
      border-style:solid;
      border-color:#FFFFA3 transparent transparent;/*灰 透明 透明 */
      position:absolute;    bottom: -10px;
      left: 50%;
      margin-left: -3.5px;
      border-radius: 10px;
    }
    ul{
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
      border: 1px solid #F1D031;
      background-color: #FFFFA3;
      color: #555;
      border-radius: 3px;
      box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
      li{
      height: 20px;
      width:100%;
      span{
        display: inline-block;
        text-align: left;
        padding: 0 10px;
        &:first-of-type{
          text-align: right;
        }
      }
    }

    }
  }
}
